Nevron .NET Vision
Nevron.Diagram.WinForm Namespace / NToolCollection Class / SingleEnableTools Method / SingleEnableTools(String[],Boolean) Method
names of the tools to enable
whether ambient tools should also be disabled


In This Topic
    SingleEnableTools(String[],Boolean) Method
    In This Topic
    Enables the tools with the specified names and makes all other tools disabled
    Syntax
    'Declaration
     
    
    Public Overloads Overridable Sub SingleEnableTools( _
       ByVal toolNames() As System.String, _
       ByVal disableAmbient As System.Boolean _
    ) 
    'Usage
     
    
    Dim instance As NToolCollection
    Dim toolNames() As System.String
    Dim disableAmbient As System.Boolean
     
    instance.SingleEnableTools(toolNames, disableAmbient)
    public virtual void SingleEnableTools( 
       System.string[] toolNames,
       System.bool disableAmbient
    )

    Parameters

    toolNames
    names of the tools to enable
    disableAmbient
    whether ambient tools should also be disabled
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also